package com.pojo;

import java.util.List;
/**
 * @author zxl
 * @create :2022/9/28
 */

public class PagePojo<T> {
    //数据总数
    private Integer count;
    //
    private List<T> datas;

    public PagePojo() {
    }

    public PagePojo(Integer count, List<T> datas) {
        this.count = count;
        this.datas = datas;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<T> getDatas() {
        return datas;
    }

    public void setDatas(List<T> datas) {
        this.datas = datas;
    }

    @Override
    public String toString() {
        return "PagePojo{" +
                "count=" + count +
                ", datas=" + datas +
                '}';
    }
}
